<?php
/**
 * 提醒工厂类
 */
class Remind 
{
	public static function factory ($type)
	{
		switch ($type) 
		{
		case 'unpaid_orders':
			return new Remind_UnpaidOrders;
			break;

		default :
			throw new SCException("错误的提醒类型");
			break;
		}
	}
}
